#!/usr/bin/env ruby
require 'erb'

require 'session'

### IRB

require 'irb'
require 'irb/completion'
ARGV.concat [ "--readline", "--simple-prompt"]

# this does not work for some reason???
require 'irb/ext/save-history'
IRB.conf[:SAVE_HISTORY] = 1000
IRB.conf[:HISTORY_FILE] = "#{ENV['HOME']}/.irb-save-history"
 
IRB.start
